cssselector: Introduce descendant matcher for regions
authorBenjamin Otte <otte@redhat.com>
Mon, 8 Dec 2014 04:55:36 +0000 (05:55 +0100)
committerBenjamin Otte <otte@redhat.com>
Wed, 10 Dec 2014 02:49:40 +0000 (03:49 +0100)
commit528691f5b323c342c7075c335b1b2a7cfc410b63
treecb3db35af38141537fa8508cf597813f66ff62e1
parent8b3f25ab963c8b3b4af3dacea0a54455bbb07865
cssselector: Introduce descendant matcher for regions

This is just a way to handle regions more conveniently. What this does
is to change the descendant matcher into a maybe-descendant matcher
whenever the current object we're parsing might be a region. Because "*"
might also refer to a region and not just a new element.

See testsuite/reftests/css-match-region-matches-star.ui for a testcase.
gtk/gtkcssselector.c